import { createRouter, createWebHistory } from 'vue-router'

import LoginPage from "@/views/LoginPage.vue";
import PaginatedList from "@/views/PaginatedList.vue";
const routes = [
    {
        path: '/',
        name: 'LoginPage',
        component: LoginPage // 添加登录页路由
    },
    {
        path: '/list',
        name: 'PaginatedList',
        component: PaginatedList // 添加登录页路由
    }
]
const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})
export default router
